package com.ys.erp.stage_config_service.bean.condition;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 南山
 * @date 2025/07/24 14:38
 */
@Data
@Accessors(chain = true)
@Schema(description = "店铺采购运输设置条件")
public class ProcureSettingCondition {

    @Data
    @Schema(description = "添加或更新采购时间条件")
    public static class AddOrUpdateProcureDayCon {

        @Schema(description = "采购时间id")
        private Long id;

        @Schema(description = "店铺类型")
        private Integer shopType;

        @Schema(description = "多少天可采购")
        private Integer procureDay;
    }

    @Data
    @Schema(description = "添加或更新采购托运方式")
    public static class AddOrUpdateProcureTransportCon {
        @Schema(description = "id")
        private Integer id;

        @Schema(description = "名称")
        private String name;


        @Schema(description = "品牌")
        private String brand;

        @Schema(description = "联系方式")
        private String phone;

        @Schema(description = "托运方式")
        private String transportMethod;

        @Schema(description = "载体")
        private String carrier;

        @Schema(description = "时效")
        private String aging;

        @Schema(description = "检疫合格证编号")
        private String quarantineCertificateNo;

        @Schema(description = "费用描述")
        private String costDes;

        @Schema(description = "描述")
        private String des;

        @Schema(description = "宣传视频链接")
        private String publicityVideo;

        @Schema(description = "出发地")
        private String departure;

        @Schema(description = "是否上架（0-否，1-是）")
        private Integer lineOn;

    }

}
